package com.ucode.crm.mode;

import java.util.Date;

import com.ucode.tool.base.BaseMode;

/**
 * 商机
 * @author: liliang
 * @date: 2020年1月13日 下午12:18:43
 */
@SuppressWarnings("serial")
public class Business extends BaseMode<Long>{

    /**
     * 商机状态组Id
     */
    private Long groupId;
    /**
     * 商机状态Id
     */
    private Long statusId;
    /**
     * 商机阶段状态:0进行中1赢单2输单3无效
     */
    private Integer stageState;
    /**
     * 客户Id
     */
    private Long customerId;
    /**
     * 商机名称
     */
    private String name;
    /**
     * 商机成交金额
     */
    private Integer money;
    
    /**
     * 商机预计金额,单位分
     */
    private Integer expectAmount;
    /**
     * 预计成交日期
     */
    private Date expectDealDate;
    
    /**
     * 整体折扣率，单位%
     */
    private Integer discountRate;
    /**
     * 产品总销售金额,单位分
     */
    private Integer totalPrice;
    /**
     * 商机最终实际金额,单位分
     */
    private Integer actualAmount;
    /**
     * 备注
     */
    private String  remark;
    /**
     * 跟进次数
     */
    private Integer followupCount;
    /**
     * 下次跟进时间
     */
    private Date nextTime;
    /**
     * 最后跟进时间
     */
    private Date lastTime;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 负责人
     */
    private Long ownerUserId;
    /**
     * 协作人集合
     */
    private String collaborator;
    /**
     * 客户负责人
     */
    private Long cownerUserId;
    
    public Business() {
        super();
    }

    public Long getGroupId() {
        return groupId;
    }
    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }
    public Long getStatusId() {
        return statusId;
    }
    public void setStatusId(Long statusId) {
        this.statusId = statusId;
    }
    public Integer getStageState() {
        return stageState;
    }
    public void setStageState(Integer stageState) {
        this.stageState = stageState;
    }

    public Long getCustomerId() {
        return customerId;
    }
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getMoney() {
        return money;
    }
    public void setMoney(Integer money) {
        this.money = money;
    }
    public Integer getExpectAmount() {
        return expectAmount;
    }
    public void setExpectAmount(Integer expectAmount) {
        this.expectAmount = expectAmount;
    }
    public Date getExpectDealDate() {
        return expectDealDate;
    }
    public void setExpectDealDate(Date expectDealDate) {
        this.expectDealDate = expectDealDate;
    }
    public Integer getDiscountRate() {
        return discountRate;
    }
    public void setDiscountRate(Integer discountRate) {
        this.discountRate = discountRate;
    }
    public Integer getTotalPrice() {
        return totalPrice;
    }
    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }
    public Integer getActualAmount() {
        return actualAmount;
    }
    public void setActualAmount(Integer actualAmount) {
        this.actualAmount = actualAmount;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getFollowupCount() {
        return followupCount;
    }
    public void setFollowupCount(Integer followupCount) {
        this.followupCount = followupCount;
    }
    public Date getNextTime() {
        return nextTime;
    }
    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }
    public Date getLastTime() {
        return lastTime;
    }
    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getOwnerUserId() {
        return ownerUserId;
    }

    public void setOwnerUserId(Long ownerUserId) {
        this.ownerUserId = ownerUserId;
    }
    
    public String getCollaborator() {
        return collaborator;
    }

    public void setCollaborator(String collaborator) {
        this.collaborator = collaborator;
    }

    public Long getCownerUserId() {
        return cownerUserId;
    }

    public void setCownerUserId(Long cownerUserId) {
        this.cownerUserId = cownerUserId;
    }
}
